package com.jadobo.xswing.model;

import java.io.Serializable;

import org.apache.log4j.Logger;

public class Body extends AElement implements Serializable {

	private static final long serialVersionUID = 1L;

	private static final Logger LOG = Logger.getLogger(Body.class);
	
	/**
	 * Default constructor
	 */
	public Body() {
	}
	
	public void addElement(IElement element) {
		
		// pre-condition check
		if(element == null) {
			LOG.warn("can not add NULL element");
			return;
		}
		
		getElements().add(element);
	}
	
}
